package com.yanqu.road.entity.cricket.court;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;


@FieldTypeAnnotation(tableName = "t_c_cricket_court_group_data")
public class CricketCourtGroupData extends DataObject {

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "赛场id")
    private int courtId;

    @FieldTypeAnnotation(desc = "分组id")
    private int groupId;

    @FieldTypeAnnotation(desc = "所属匹配分组id")
    private int matchGroupId;

    @FieldTypeAnnotation(desc = "分组人数")
    private int num;

    @FieldTypeAnnotation(desc = "更新时间")
    private long updateTime;

    public CricketCourtGroupData() {

    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        if (this.round != round) {
            this.round = round;
            this.setUpdateOption();
        }
    }

    public int getCourtId() {
        return courtId;
    }

    public void setCourtId(int courtId) {
        if (this.courtId != courtId) {
            this.courtId = courtId;
            this.setUpdateOption();
        }
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        if (this.groupId != groupId) {
            this.groupId = groupId;
            this.setUpdateOption();
        }
    }

    public int getMatchGroupId() {
        return matchGroupId;
    }

    public void setMatchGroupId(int matchGroupId) {
        if (this.matchGroupId != matchGroupId) {
            this.matchGroupId = matchGroupId;
            this.setUpdateOption();
        }
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        if (this.num != num) {
            this.num = num;
            this.setUpdateOption();
        }
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        if (this.updateTime != updateTime) {
            this.updateTime = updateTime;
            this.setUpdateOption();
        }
    }
}
